package com.nkym.wypan.service;

import com.nkym.wypan.model.context.chat.RoomMemberContext;
import com.nkym.wypan.model.entity.chat.RoomMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nkym.wypan.model.resp.socket.ChatUserInfoVO;

import java.util.List;

/**
 * @author 19637
 * @description 针对表【wy_pan_room_member(群成员表)】的数据库操作Service
 * @createDate 2023-11-11 11:17:00
 */
public interface RoomMemberService extends IService<RoomMember> {

    List<ChatUserInfoVO> getMember(RoomMemberContext roomMemberContext);

     boolean checkUserIsRoomMember(Long roomId, Long userId);
}
